#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"

int main()
{
	ST Stack;
	STInit(&Stack);
	STPush(&Stack, 1);
	//int i = STTop(&Stack);
	//printf("%d", i);
	STPush(&Stack, 2);
	STPush(&Stack, 3);
	while (!STEmpty(&Stack))
	{
		printf("%d ", STTop(&Stack));
		STPop(&Stack);
	}
	printf("\n");
	STDestroy(&Stack);
	return 0;
}